All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.sg.SGMusicChannel

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.sg.SGChannel
                                   |
                                   +----quicktime.std.sg.AudioChannel
                                           |
                                           +----quicktime.std.sg.SGMusicChannel

public final class SGMusicChannel
extends AudioChannel
implements QuickTimeLib
Assists in Creating a MIDI Channel.


Constructor Index

 o SGMusicChannel(SequenceGrabber)
Creates a sequence grabber music channel and assigns a channel component to the channel.

Method Index

 o getInstrument()
Gets the Instrument associates with a particular channel.
 o setInstrument(ToneDescription)
Sets the Instrument associates with a particular channel.

Constructors

 o SGMusicChannel
 public SGMusicChannel(SequenceGrabber owner) throws StdQTException
Creates a sequence grabber music channel and assigns a channel component to the channel. The channel component is responsible for providing music data to the sequence grabber component.

QuickTime::SGNewChannel

Parameters:
owner - specifies the sequence grabber component the channel is attached to.

Methods

 o getInstrument
 public ToneDescription getInstrument() throws StdQTException
Gets the Instrument associates with a particular channel.

QuickTime::SGGetInstrument

Parameters:
returns - the Instrument associated with a particuar channel.
 o setInstrument
 public void setInstrument(ToneDescription td) throws StdQTException
Sets the Instrument associates with a particular channel.

QuickTime::SGSetInstrument

Parameters:
td - specifies the instrument to set the channel to.

All Packages  Class Hierarchy  This Package  Previous  Next  Index